package com.example.quickcontactbadgedemo;

import android.os.Bundle;
import android.widget.QuickContactBadge;

import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        QuickContactBadge badge = findViewById(R.id.badge);
//        badge.assignContactFromPhone("0371-63889129",true);
        badge.assignContactFromEmail("cmliu@zzu.edu.cn", true);
    }
}
